package com.zy.cat.entity.dev.resp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Index;
import javax.persistence.Table;

import com.zy.cat.entity.primary.CatDevReRedHistoryPrimary;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 返现红包历史记录，不参与计算总金额
 * @author Link
 * @date 2019-11-26 14:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("返现红包历史记录，不参与计算总金额")
public class CatDevReRedHistoryResp {

	@ApiModelProperty(value = "账号ID", example = "3d6a4fa29641")
	private String pid;
	
	@ApiModelProperty(value = "创建时间", example = "2019-02-22 12:56:56")
	private String ctime;
	
	@ApiModelProperty(value = "使用状态（0.未使用、1.已使用、2.已过期）", example = "1")
	private int fstatus;

	@ApiModelProperty(value = "奖励（分）", example = "300")
	private long income;
	
	@ApiModelProperty(value = "红包类型（0.3元无门槛、1.下单返现红包）", example = "1")
	private int ptype;

	public CatDevReRedHistoryResp(String pid, int fstatus) {
		super();
		this.pid = pid;
		this.fstatus = fstatus;
	}
	
	
}
